function [std_err] = calculate_standard_error(matrix)

std_err = std(matrix(:),'omitnan')/sqrt(length(matrix(:)));

end